
/* Navbar */
.navbar {
  background-color: #0b284d;
  padding: 10px 20px;
  transition: background-color 0.3s ease-in-out; /* Smooth background color transition */
}

.navbar-brand img {
  max-height: 80px;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  margin: 0 10px; 
  text-decoration: none;
  transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff;
}

.custom-toggler {
  border-color: white;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Info Section */
.info-section {
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 1200px;
  background-color: white;
  text-align: left;
}

.info-section h2 {
  font-weight: bold;
  margin-bottom: 15px;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

.info-section h2:hover {
  color: #1af06c; /* Change color on hover */
}

.info-section p,
.info-section ul {
  font-size: 1.2em;
  line-height: 1.6;
}

.info-section img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.info-section img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Services Section */
.services-section {
  background-color: #2de674;
  padding: 10px ;
  margin: 40px auto;
  text-align: center;
  border-radius: 30px;
  max-width: 1200px;
}

.services-section h2 {
  background-color: #0b284d;
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.services-section h2:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.services-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.service-item {
  flex: 1 1 calc(33.33% - 40px);
  margin: 10px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.service-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

@media (max-width: 768px) {
  .service-item {
      flex: 1 1 100%;
      margin-bottom: 20px;
  }
}

/* Form Section */
.form-section {
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 800px;
  background-color: 0;
}

.form-section h2 {
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

.form-section h2:hover {
  color: #1af06c; /* Change color on hover */
}

.form-section form {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out; /* Smooth box-shadow transition */
}

.form-section form:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.form-section .form-control {
  margin-bottom: 15px;
  transition: border-color 0.3s ease-in-out; /* Smooth border-color transition */
}

.form-section .form-control:focus {
  border-color: #1af06c; /* Change border color on focus */
  outline: none; /* Remove default outline */
}

.form-section .btn-primary {
  background: linear-gradient(to right, #56ccf2, #1af06c);
  border: none;
  padding: 12px 25px;
  border-radius: 20px;
}

.form-section .btn-primary:hover {
  background: linear-gradient(to right, #1af06c, #56ccf2);
}

/* FAQ Section */
.faq-section {
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 800px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.faq-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-checkbox {
  display: none;
}

.faq-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
  transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.faq-label:hover {
  color: #1af06c; /* Change color on hover */
}

.faq-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #00ced1;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: transform 0.3s ease-in-out; /* Smooth transform transition */
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: white;
}

.faq-icon::before {
  width: 2px;
  height: 12px;
  top: 4px;
  left: 9px;
}

.faq-icon::after {
  width: 12px;
  height: 2px;
  top: 9px;
  left: 4px;
}

.faq-checkbox:checked + .faq-label .faq-icon::after {
  display: none;
}

.faq-content {
  display: none;
  padding-left: 30px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.faq-checkbox:checked + .faq-label + .faq-content {
  display: block;
}

/* Testimonials Section */
.testimonials-section {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background-color: #f5f5f5;
  max-width: cover; 
}

.testimonials-section h2 {
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

.testimonials-section h2:hover {
  color: #1af06c; /* Change color on hover */
}

.testimonials-section p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.testimonials {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial {
  background-color: #1af06c; 
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.testimonial:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.testimonial h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
  font-size: 16px;
}

.testimonial p {
  font-size: 14px;
  color: #333;
}

/* Contact Section */
.contact-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  background-color: #f5f5f5;
 
  max-width: cover;
}

.contact-form,
.contact-info {
  width: 300px;
  margin: 20px;
}

.contact-form h3,
.contact-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

.contact-form h3:hover,
.contact-info h3:hover {
  color: #1af06c; /* Change color on hover */
}

.contact-form input,
.contact-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease-in-out; /* Smooth border-color transition */
}

.contact-form input:focus,
.contact-form button:focus {
  border-color: #1af06c; /* Change border color on focus */
  outline: none; /* Remove default outline */
}

.contact-form button {
  background-color: #00ced1;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out; /* Add smooth background transition */
}

.contact-form button:hover {
  background-color: #00a2a3;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

/* Scroll to Top */
#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none; /* Hidden by default, shown by JavaScript */
  transition: opacity 0.3s ease-in-out; /* Smooth opacity transition */
}

#scroll-to-top:hover {
  opacity: 0.7; /* Make it slightly transparent on hover */
}

#scroll-to-top-btn {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease-in-out; /* Add smooth color transition */
}

#scroll-to-top-btn:hover {
  color: #007bff;
}

/* Hero Section */

.hero {
  display: flex;
  justify-content: center; /* Centre l'image horizontalement */
  align-items: center; /* Centre l'image verticalement si nécessaire */
  overflow: hidden; /* Cache les parties de l'image qui débordent */
  padding-top: 40px;
  transition: background-color 0.3s ease-in-out; /* Transition douce pour la couleur de fond */
}

.hero img {
  width: 100%; /* Agrandit l'image à 120% de la largeur du conteneur */
  height: auto;
  max-width: none;
  transition: transform 0.3s ease-in-out; /* Transition douce pour l'effet de zoom */
}

.hero img:hover {
  transform: scale(1.05); /* Zoom léger au survol */
}


/* Content Section */
.content-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

.content-section h2:hover {
  color: #1af06c; /* Change color on hover */
}

.content-section p {
  font-size: 22px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.eligibility-button {
  background-color: #1af06c;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.eligibility-button:hover {
  background-color: #56ccf2;
}

/* Partners and Images */
.partners {
  display: block;
  margin: 20px auto;
  max-width: 300px;
}

.right-img,
.video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.right-img:hover,
.video:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

@media (min-width: 768px) {
  .content-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .video {
      max-width: 80%;
      margin: 20px auto;
  }

  .partners {
      max-width: 200px;
  }

  .content-section h2,
  .content-section p {
      text-align: center;
  }
}

/* Button Eligibility */
.btn-eligibility {
  background: linear-gradient(to right, #56ccf2, #1af06c);
  color: white;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn-eligibility:hover {
  background: linear-gradient(to right, #1af06c, #56ccf2);
  transform: scale(1.05); /* Slight zoom on hover */
}


.form-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Improve layout of contact-info section */
.contact-info {
  text-align: left;
}

.contact-info p {
  margin-bottom: 10px;
}

/* FAQ Section Custom Styles */
.faq-section {
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 800px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.partenaires-section {
  background-color: #2de674;
  padding: 10px ;
  margin: 40px auto;
  text-align: center;
  border-radius: 30px;
  max-width: 1200px;
}

.partenaires-section h2 {
  background-color: #0b284d;
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.partenaires-section h2:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.partenaires-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partenaires-item {
  flex: 1 1 calc(33.33% - 40px);
  margin: 10px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out; /* Smooth transform transition for scale */
}

.partenaires-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

@media (max-width: 768px) {
  .partenaires-item {
      flex: 1 1 100%;
      margin-bottom: 20px;
  }
}

body {
  zoom: 130%;
}

